package com.lkm.app_ui.m.fun;

import com.lkm.frame.otto.LinkBusEventFlag;
import com.lkm.frame.otto.ThreadEnforcer;
import com.lkm.market2_0.m.steelyardserver.to.WeightChangeInfo;



public class OnWeightHoldEvent implements LinkBusEventFlag {
    private final String steelyardMac;

    private final WeightChangeInfo weightChangeInfo;

    public OnWeightHoldEvent(String steelyardMac, WeightChangeInfo weightChangeInfo) {
        this.steelyardMac = steelyardMac;
        this.weightChangeInfo = weightChangeInfo;
    }

    public String getSteelyardMac() {
        return steelyardMac;
    }

    public WeightChangeInfo getWeightChangeInfo() {
        return weightChangeInfo;
    }

    @Override
    public ThreadEnforcer getThreadEnforcer() {
        return ThreadEnforcer.ANY;

    }

    @Override
    public boolean isStickyBroadcast() {
        return false;
    }
}
